<?php

use think\migration\Seeder;

class SystemSettingLogData extends Seeder
{
    /**
     * 系统设置日志
     */
    public function run()
    {
        $table = $this->table('system_setting_log');
        $rows  = [
            [
                'region_id'   => '53',
                'memo'        => '用户admin(1)于2018.05.09 12:00修改了“系统-超标-相关指数的界定值(correlation_index)的值为0.11”',
                'create_time' => time(),
            ],
            [
                'region_id'   => '53',
                'memo'        => '用户admin(1)于2018.05.09 12:00修改了“系统-超标-贡献度高的界定值(high_contribution_value)的值为0.21”',
                'create_time' => time(),
            ],
        ];
        $table->insert($rows)->save();
    }
}